﻿<!--
Project: FoscamController (http://FoscamController.codeplex.com)
Filename: MainWindow.xaml
Version: 20151201
-->

<Window
  x:Class="Camera.Foscam.MainWindow"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:ptz="clr-namespace:Camera;assembly=CameraControllers"

  Width="525" Height="350"
  WindowStartupLocation="CenterScreen"

  Title="MainWindow"

  Loaded="MainWindow_Loaded"
  Closing="MainWindow_Closing"
  >

  <Window.Resources>
    <Style TargetType="Button">
      <Setter Property="Padding" Value="5,0"/>
    </Style>
  </Window.Resources>

  <Grid x:Name="LayoutRoot">
    <Grid.RowDefinitions>
      <RowDefinition/>
      <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>

    <!-- Region: Player -->

    <!-- video display control is added here dynamically -->

    <!-- EndRegion -->

    <!-- Region: Control Buttons -->

    <ptz:PTZControl x:Name="ptz" Grid.Row="1"/>

    <!-- EndRegion -->

  </Grid>

</Window>
